/*
 * Initializing.cpp
 *
 *  Created on: Jan 27, 2011
 *      Author: bvd
 */

#include "Initializing.h"

using namespace application;

Initializing* Initializing::pInstance = 0;

Initializing::Initializing() {

}

Initializing::~Initializing() {
	delete pInstance;
}

Initializing* Initializing::getInstance() {
	if(!pInstance) {
		pInstance = new Initializing();
	}
	return pInstance;
}

void Initializing::initialized(Context* context) {
	context->setCurrentState(Ready::getInstance());
}
